/**
 * Description: Card.java
 * Copyright (c) 2008-2009  Neo. 
 * All Rights Reserved.
 * @version 1.0  2010-01-13 created
 */
package org.paradise.dms.pojo;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Description: 卡号与学号对应表 Copyright (c) 2008-2009 Neo. All Rights Reserved.
 * 
 * @version 1.0 2010-01-13 created
 */
@Entity
@Table(name = "card")
public class Card {
	@Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	// 自动增长
	private int id;// 用户ID
	private String cardid;
	private String cardno;
	private String username;
	private String idserial;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getCardid() {
		return cardid;
	}
	public void setCardid(String cardid) {
		this.cardid = cardid;
	}
	public String getCardno() {
		return cardno;
	}
	public void setCardno(String cardno) {
		this.cardno = cardno;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getIdserial() {
		return idserial;
	}
	public void setIdserial(String idserial) {
		this.idserial = idserial;
	}
	
}
